package com.program.facesigninsystem.iteration.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OwnApplyHistory {

    @ApiModelProperty(value = "申请记录ID")
    private Integer recordId;

    @ApiModelProperty(value = "申请组织ID")
    private Integer groupId;

    @ApiModelProperty(value = "组织名称")
    private String groupName;

    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date applyTime;

    @ApiModelProperty(value = "状态：0-未处理  1-已同意  2-已驳回 3-已解除")
    private Integer status;
}
